package com.itkang.decorate;

/**
 * <p>
 * 场景:饮料的顶级类
 * </p>
 *
 * @author york yuan
 * @version 1.0
 * @since 15/7/8下午3:13
 */
public abstract class Beverage {
    String description = "Unknown Beverage";

    public String getDescription() {
        return description;
    }

    /**
     * 抽象方法,用于子类继承,计算价格
     * @return
     */
    public abstract double cost();
}
